package com.xuerhua.yxt.view;

import com.xuerhua.yxt.model.VisitorAppointment;

public class VisitorAppointmentView extends VisitorAppointment {

	private static final long serialVersionUID = 6019761899975838220L;

	private Integer studentId;
	private String studentName;
	private Integer grade;
	private Integer clazz;
	private Integer parentId;
	private String phone;
	private String relation;
	public Integer getStudentId() {
		return studentId;
	}
	public void setStudentId(Integer studentId) {
		this.studentId = studentId;
	}
	public String getStudentName() {
		return studentName;
	}
	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}
	public Integer getGrade() {
		return grade;
	}
	public void setGrade(Integer grade) {
		this.grade = grade;
	}
	public Integer getClazz() {
		return clazz;
	}
	public void setClazz(Integer clazz) {
		this.clazz = clazz;
	}
	public Integer getParentId() {
		return parentId;
	}
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getRelation() {
		return relation;
	}
	public void setRelation(String relation) {
		this.relation = relation;
	}
	
	public String getGradeName() {
		return TermView.getGradeName(this.grade);
	}
}
